<div class="modal fade in ip-box" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" id="details">
    <div class="modal-dialog " role="document" style="margin: 254px auto;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myModalLabel">授权范围管理 — 详情</h4>
            </div>
            <div class="modal-body">
                <form name="resourceTypeAdd_form" novalidate="" class="ng-pristine ng-invalid ng-invalid-required">

                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 control-label text-right">资源服务编码:</label>
                        <div class="col-xs-12 col-sm-9">
                            <input type="text" 
                            	   name="name" 
                            	   class="readonly form-control" 
                                   readonly
                                   ng-model="details_scopesCode"
                            	   >
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 control-label text-right">资源服务名称:</label>
                        <div class="col-xs-12 col-sm-9">
                            <input type="text" 
                                   name="name" 
                                   class="readonly form-control" 
                                   readonly
                                   ng-model="details_scopeName"
                                   >
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 control-label text-right">资源服务URL:</label>
                        <div class="col-xs-12 col-sm-9">
                            <input type="text" 
                                   name="name" 
                                   class="readonly form-control" 
                                   readonly
                                   ng-model="details_scopeUri"
                                   >
                        </div>
                    </div>
					
					<div class="form-group height-auto">
						
						<div class="form-group height-auto">
                            <label class="col-xs-12 col-sm-3 control-label text-right">服务类型:</label>   
                            <div class="one-line col-xs-12 col-sm-3">
                                <input type="text"
                                       class="readonly form-control" 
                                       readonly
                                       ng-model="details_serviceTypeName"
                                       >
                            </div>

                            <label class="one-line col-xs-12 col-sm-3 control-label text-right">资源类型:</label>   
                            <div class="col-xs-12 col-sm-3">
                                <input type="text"
                                       class="readonly form-control" 
                                       readonly
                                       ng-show="details_scopeType==0"
                                       value="系统资源" 
                                       >
                                <input type="text"
                                       class="readonly form-control" 
                                       readonly
                                       ng-show="details_scopeType==1"
                                       value="用户资源" 
                                       >
                            </div>
                        </div>

					</div>

                    <div class="form-group height-auto">
                        <label class="col-xs-12 col-sm-3 control-label text-right">描述:</label>
                        <div class="col-xs-12 col-sm-9">
                            <textarea rows="5" 
                            		  type="text" 
                            		  name="description" 
                            		  class="readonly form-control" 
                                      readonly
                                      ng-model="details_description"
                            		  >                                    
                            </textarea>
                            
                        </div>
                    </div>
                    
                </form>

                <div class="col-sm-12">
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                        <button type="button" class="btn btn-primary" data-dismiss="modal" ng-disabled="resourceTypeAdd_form.$invalid" ng-click="confirmNewlyAdded()" disabled="disabled">新增</button>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>